package funcs

import (
	"os"
	"fmt"
)

func(f FileUtils) DeleteFile(filePath string) error {
	err := os.Remove(filePath)
	if err != nil {
		fmt.Errorf("DeleteFile failed: %v", err)
		return err
	}
	return err
}

